package com.yy.wga.mp.module.goods.api.response.product;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
public class GetHeadSupplierProductDetailDTO extends BaseApiDTO implements Serializable {

    @JSONField(name = "item")
    private GetHeadSupplierProductDetailDTO.Product item;

    @Data
    public static class Product {
        @JSONField(name = "product_id")
        private String productId;

        @JSONField(name = "appid")
        private String appid;


        /**
         * 商品数据
         */
        @JSONField(name = "product_info")
        private PromoteProductDetailDTO.ProductInfo productInfo;


        /**
         * 佣金信息
         */
        @JSONField(name = "commission_info")
        private PromoteProductDetailDTO.CommissionInfo commissionInfo;
    }

}
